package com.tencent.smtt.sdk;

import android.os.Build;
import java.io.File;
import java.io.FileFilter;

/* loaded from: classes2.dex */
final class ao implements FileFilter {
    @Override // java.io.FileFilter
    public boolean accept(File file) {
        String name = file.getName();
        if (name == null || name.endsWith(".jar_is_first_load_dex_flag_file")) {
            return false;
        }
        return Build.VERSION.SDK_INT < 21 || !name.endsWith(".dex");
    }
}
